/mob/living/simple_animal/mouse/robo
	name = "Robo-Mouse EV209"
	color = "robo"
	icon = 'Robo-Mouse.dmi'
	icon_state = "mouse_robo"
	health = 75
	var/weapon = 0

/*
/mob/living/simple_animal/mouse/robo/verb/activate()
	set name = "Activate/Deactivate Stunner"
	set desc = "Toggle whether or not your stunner is on or off."
	set category = "Mouse"

	if(!weapon)
		weapon = 1
		usr << "\blue Stunner now activated!"
	else
		weapon = 0
		usr << "\red Stunner deactivated!"
*/

/mob/living/simple_animal/mouse/robo/attack_animal(mob/M as mob,mob/user as mob)
	..()

	var/mob/living/carbon/human/H = M

	M.attack_log += text("\[[time_stamp()]\] <font color='orange'>Has been attacked with [src.name] by [user.name] ([user.ckey]) (INTENT: [uppertext(user.a_intent)])</font>")
	user.attack_log += text("\[[time_stamp()]\] <font color='red'>Used the [src.name] to attack [M.name] ([M.ckey]) (INTENT: [uppertext(user.a_intent)])</font>")

	log_admin("ATTACK: [user] ([user.ckey]) attacked [M] ([M.ckey]) with [src].")
	message_admins("ATTACK: [user] ([user.ckey]) attacked [M] ([M.ckey]) with [src].")
	log_attack("<font color='red'>[user.name] ([user.ckey]) attacked [M.name] ([M.ckey]) with [src.name] (INTENT: [uppertext(user.a_intent)])</font>")

	if(isrobot(M))
		..()
		return

	if(!weapon)
		return

	else
		H.apply_effect(10, STUN, 0)
		H.apply_effect(10, WEAKEN, 0)
		H.apply_effect(10, STUTTER, 0)
		user.lastattacked = M
		H.lastattacker = user
		H.visible_message("<span class='danger'>[M] has been stunned by [user]!</span>")
		playsound(src.loc, 'Egloves.ogg', 50, 1, -1)